import service from '@/utils/request'

export const platformClassifySave = (dataForm: any) => {
  return service({
    url: '/sys/classify/save',
    method: 'post',
    data: dataForm
  })
}
export const platformClassifyUpdate = (dataForm: any) => {
  return service({
    url: '/sys/classify/update',
    method: 'post',
    data: dataForm
  })
}
export const platformClassifyDelete = (dataForm: any) => {
  return service({
    url: '/sys/classify/delete',
    method: 'post',
    data: dataForm
  })
}
export const platformList = (dataForm: any) => {
  return service({
    url: '/sys/platform/list',
    method: 'post',
    params: dataForm
  })
}
export const platformSave = (dataForm: any) => {
  return service({
    url: '/sys/platform/save',
    method: 'post',
    data: dataForm
  })
}
export const platformUpdate = (dataForm: any) => {
  return service({
    url: '/sys/platform/update',
    method: 'post',
    data: dataForm
  })
}
export const platformDelete = (dataForm: any) => {
  return service({
    url: '/sys/platform/delete',
    method: 'post',
    data: dataForm
  })
}
export const platformConnect = (dataForm: any) => {
  return service({
    url: '/sys/platform/connect',
    method: 'post',
    data: dataForm
  })
}
export const platformMenuUseList = (dataForm: any) => {
  return service({
    url: '/sys/platform/platformMenuUseList',
    method: 'post',
    data: dataForm
  })
}
